package com.dalin.platform.autocode.action;

import com.dalin.framework.action.StrutsTwoAction;
import com.dalin.platform.autocode.service.AutocodeService;
import com.dalin.platform.autocode.vo.GlbGridHeaderVo;
/*****************************************************************************
 * @content:                                                                *
 * @author : 那建林                                                                                                                                *
 * @crtDate: 2011-03-09 05:11:06                                            *
 * @modDate: 2011-03-09 05:11:06                                            *
 * @version: 1.00                                                           *
 ****************************************************************************/
public class GlbGridHeaderFindAction extends StrutsTwoAction{
	private AutocodeService autocodeService; // 
    private Long id; // 





    public String execute()throws Exception {
        super.printInfo("", "===== this action begin");
        GlbGridHeaderVo vo = autocodeService.findGlbGridHeaderById(id);
        setResContent(vo);
        super.printInfo("", "===== this action end");
        return null;

    }

    public AutocodeService getAutocodeService() {
		return autocodeService;
	}
	public void setAutocodeService(AutocodeService autocodeService) {
		this.autocodeService = autocodeService;
	}
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

}
